package Messages;

import java.io.Serializable;


/**
 * Proposal message contain (N,V). This proposal message is sent by proposer to several acceptors.
 * 
 * <p>
 * N - Indicates the proposal number that proposer sends to acceptors
 * V - Indicates the actual lock number requested by proposer. 
 * </p>
 */
public class ProposalRequestMessage extends Message implements Serializable{

	int proposalNumber;
	int lockValue; // the lock being requested by client
	
	public int getProposalNumber() {
		return proposalNumber;
	}
	public void setProposalNumber(int proposalNumber) {
		this.proposalNumber = proposalNumber;
	}
	public int getLockValue() {
		return lockValue;
	}
	public void setLockValue(int lockValue) {
		this.lockValue = lockValue;
	}
}
